home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
oper_sys
/
amber
/
amber.lha
/
Err.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-25
|
576b
|
24 lines
#include <stdio.h>
static char rcsid[] = "$Header: /var/a/oriole/u1/thekkath/amber/RCS/Err.c,v 1.1 90/08/22 16:54:34 thekkath Exp Locker: thekkath $";
void perr(char *s)
{
extern char *progname;
fprintf(stderr,"%s: ",progname);
perror(s);
fprintf(stderr,"\n");
fflush(stderr);
}
void pout(char *fmt, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8)
{
extern char *progname;
printf("%s: ",progname);
printf(fmt,a1,a2,a3,a4,a5,a6,a7,a8);
printf("\n");
fflush(stdout);
}